﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Route.aspx.cs" Inherits="Route" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 177px;
        }
        #div_AddButton
        {
            width: 928px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
        AutoGenerateColumns="False" DataKeyNames="route_id">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:BoundField DataField="route_distance" HeaderText="Route Distance" />
            <asp:BoundField DataField="route_from" HeaderText="Route From" />
            <asp:BoundField DataField="route_to" HeaderText="Route To" />
            <asp:HyperLinkField DataNavigateUrlFields="route_id" HeaderText="Edit" ItemStyle-Width="80"
                DataNavigateUrlFormatString="Travel.aspx?routeid={0}" Text="Select" ItemStyle-HorizontalAlign="Center" />
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    <div id="div_AddButton">
        <table class="style1">
            <tr>
                <td class="style2">
                    Route Distance
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Width="211px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Route From
                </td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server" Width="208px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Route To
                </td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server" Width="206px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btn_Save" runat="server" OnClick="btn_Save_Click" Text="Save" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
